<?php
/*

class Doctags extends BaseDoctags
{
    public function findByWords(array $words)
    {
        $q = ORMQuery::selectBuilder()
            ->from('Doctags dt');
        foreach($words as $word) {
            $word = trim($word);
			$q ->orWhere('dt.value LIKE ?','%' . $word . '%');
        }
        return $q->fetchAll('Doctags');
    }

    public function getById($id)
    {
        return parent::getById($id, __CLASS__);
    }
    
    public function getByParams( $params, $type = self::ONE_RECORD, $limit = null )
    {
        return parent::getByParams( $params, $type, $limit, __CLASS__);
    }
    
    public function getAll( $limit = null )
    {
        return parent::getAll( $limit, __CLASS__ );
    }

    public static function saveIfNotExists($params = null)
    {
        return parent::saveIfNotExists($params, __CLASS__);
    }
}
*/